<ul class="ds-recent-comments" data-num-items="10" data-show-avatars="1"
    data-show-time="1" data-show-admin="1" data-excerpt-length="70"></ul>
<!--¶àËµjs¼ÓÔØ¿ªÊ¼£¬Ò»¸öÒ³ÃæÖ»ÐèÒª¼ÓÔØÒ»´Î -->
<script type="text/javascript">
    var duoshuoQuery = { short_name: "lindexi.duoshuo.com" };
    var thread = document.URL;
    var title = document.title;


    if (thread.charAt(thread.length - 1) == "/") {
        thread = thread.substring(0, thread.length - 1);
    }

    var relUrl = thread.substring(thread.lastIndexOf("/") + 1);

    var arrUrl = thread.substring(0, thread.lastIndexOf("/"));

    if (arrUrl.lastIndexOf("/") != -1) {
        relUrl = arrUrl.substring(arrUrl.lastIndexOf("/") + 1) + "/" + relUrl;
    }

    thread = relUrl;

    $("<span/>").html("<div class='ds-thread' " +
		    "data-category='<#article/category/id#>' " +
		    "data-thread-key='" + thread +
		    "' " +
		    "data-title='" + title +
		    "' " +
		    "data-author-key='<#article/author/id#>'></div>").appendTo('#clear');
  
</script>